<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        h2{
            text-align: center;
        }
        div{
            height: 520px;
            width: 520px;
            background-color: #A9A9A9;
            margin: 0 auto 0 auto;
        }
        img{
            height: 150px;
            /* 加上白边 */
            padding: 5px;
            margin: 5px;
            background-color: white;
        }
        /* 鼠标移入动画 */
        img:hover{
            transform: rotate(30deg);
        }
    </style>
</head>
<body>
    <div>   
        <img src="image/1.jpg">
        <img src="image/2.jpg">
        <img src="image/3.jpg">
        <img src="image/4.jpg">
        <img src="image/5.jpg">
        <img src="image/6.jpg">
        <img src="image/7.jpg">
        <img src="image/8.jpg">
        <img src="image/9.jpg">
    </div>
</body>
</html>